<template>
  <div id="app">
    <router-view></router-view>
  </div>
</template>

<script>
import Config from '@/config'
export default {
  name: "App",
  provide(){
    return {
      systemStatus:Config.systemStatus,
      systemInfo:Config.systemInfo
    }
  },
  beforeDestroy() {
    // 解决query刷新丢失问题
    let query = this.route.query
    let queryLength = Object.keys(query)
    if (queryLength) {
      console.log("有参数");
    }
  }
};
</script>

<style lang="scss">
@import url("./assets/css/reset_element.scss");
@import url("./assets/css/index.css");
@font-face {
  font-family: AlibabaPuHuiTi-2-65-Medium;
  src: url(https://puhuiti.oss-cn-hangzhou.aliyuncs.com/AlibabaPuHuiTi-2/AlibabaPuHuiTi-2-65-Medium/AlibabaPuHuiTi-2-65-Medium.eot)
      format("embedded-opentype"),
    url(https://puhuiti.oss-cn-hangzhou.aliyuncs.com/AlibabaPuHuiTi-2/AlibabaPuHuiTi-2-65-Medium/AlibabaPuHuiTi-2-65-Medium.otf)
      format("opentype"),
    url(https://puhuiti.oss-cn-hangzhou.aliyuncs.com/AlibabaPuHuiTi-2/AlibabaPuHuiTi-2-65-Medium/AlibabaPuHuiTi-2-65-Medium.ttf)
      format("TrueType"),
    url(https://puhuiti.oss-cn-hangzhou.aliyuncs.com/AlibabaPuHuiTi-2/AlibabaPuHuiTi-2-65-Medium/AlibabaPuHuiTi-2-65-Medium.woff)
      format("woff"),
    url(https://puhuiti.oss-cn-hangzhou.aliyuncs.com/AlibabaPuHuiTi-2/AlibabaPuHuiTi-2-65-Medium/AlibabaPuHuiTi-2-65-Medium.woff2)
      format("woff2");
}
html {
  font-size: 14px;
  font-family: " AlibabaPuHuiTi-2-65-Medium";
}
* {
  margin: 0;
  padding: 0;
  user-select: none;
}

html,
body,
#app {
  height: 100%;
}

#app {
  font-size: 10px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  /* color: #2c3e50; */
  overflow: hidden;
}
</style>
